﻿Ext.extend(NExt.grid.GridPanel, Ext.grid.GridPanel, {
    setModel: function (value) {
        this.store.loadData(value);
    },
    getModel: function () {
        var result = new Array();
        this.store.each(function (record) { result.push(record.data); })
        return result;
    },
    getName: function () {
        return this.name;
    },
    isFormField: true,
    markInvalid: Ext.emptyFn,
    clearInvalid: Ext.emptyFn
});